# count


str1 = "ABCDE"

print(str1.count("A"))